package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.TrainingImplementationManagementDao;
import io.renren.entity.TrainingImplementationManagementEntity;
import io.renren.service.TrainingImplementationManagementService;



@Service("trainingImplementationManagementService")
public class TrainingImplementationManagementServiceImpl implements TrainingImplementationManagementService {
	@Autowired
	private TrainingImplementationManagementDao trainingImplementationManagementDao;
	
	@Override
	public TrainingImplementationManagementEntity queryObject(Integer id){
		return trainingImplementationManagementDao.queryObject(id);
	}
	
	@Override
	public List<TrainingImplementationManagementEntity> queryList(Map<String, Object> map){
		return trainingImplementationManagementDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return trainingImplementationManagementDao.queryTotal(map);
	}
	
	@Override
	public void save(TrainingImplementationManagementEntity trainingImplementationManagement){
		trainingImplementationManagementDao.save(trainingImplementationManagement);
	}

	@Override
	public void update(TrainingImplementationManagementEntity trainingImplementationManagement){
		trainingImplementationManagementDao.update(trainingImplementationManagement);
	}
	
	@Override
	public void delete(Integer id){
		trainingImplementationManagementDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		trainingImplementationManagementDao.deleteBatch(ids);
	}
	
}
